<?php
# http://www.smarty.net/forums/viewtopic.php?t=17694

require_once('../inc.config.php');

$content = '{if $variable}Processed{/if}';
#$content = '{$if}...something';
$smarty->assign("Code", $content);

$smarty->display('smarty-forums/17694.php');
?>